/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controller;

import entity.Event;
import java.util.List;
import model.bll.EventBLL;

/**
 *
 * @author Hailk_c00639
 */
public class ViewAllEventAction{
    
    public List<Event> allEvent;
    
    public ViewAllEventAction() {
    }
    
    public String execute() throws Exception {
        allEvent = new EventBLL().getAllEvent();
        
        return "success";
    }
}